package com.macro.mall.handle;

import cn.hutool.json.JSONUtil;
import com.macro.mall.operating.service.IParseFunction;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class DefaultFunction implements IParseFunction {

    @Override
    public String functionName() {
        return DefaultFunction.class.getSimpleName();
    }

    @Override
    public String apply(Object value) {
        log.info("/// 入参" + JSONUtil.toJsonStr(value));
        return "云南";
    }
}

